package com.birdpiss.commons.dao.interfaces;

import com.birdpiss.commons.domain.Account;

/**
 * The Interface AccountDao.
 *
 * @author mark
 */
public interface AccountDao {

	/**
	 * Gets the account by id.
	 *
	 * @param accountId the account id
	 *
	 * @return the account by id
	 */
	public Account getAccountById(Integer accountId);

	/**
	 * Gets the account by user id.
	 *
	 * @param userId the user id
	 *
	 * @return the account by user id
	 */
	public Account getAccountByUserId(Integer userId);

	/**
	 * Insert account.
	 *
	 * @param account the account
	 *
	 * @return the account
	 */
	public Account insertAccount(Account account);

	/**
	 * Gets the account.
	 *
	 * @param account the account
	 *
	 * @return the account
	 */
	public Account getAccount(Account account);

}
